<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <title>Update</title>
    </head>
    <body>
        <h1>修改用户</h1>
        <hr />
        <form:form modelAttribute="person" method="post">
            <table>
                <tr>
                    <td colspan="2">用户${person.name}</td>
                </tr>
                <tr>
                    <td>姓名：</td>
                    <td><form:input path="name" /></td>
                </tr>
                <tr>
                    <td>年龄：</td>
                    <td><form:input path="age" /></td>
                </tr>
                <tr>
                    <td>描述：</td>
                    <td>
                        <form:textarea path="description" />
                    </td>
                </tr>
                <tr>
                    <td colspan="2">
                        <input type="submit" value="修改" />
                        <input type="reset" value="重置" />
                    </td>
                </tr>
            </table>
        </form:form>
    </body>
</html>
